﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PRO_DOCS.DocumentManagementSystem.Petrolium.WIN
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            BackAndRestore.BackUp.BackupDatabase("MESS-PC", "Ajman_bank",@"C:\bak\SyncSamplesDb_file.bak");
            _7z.Zipping.Compress(@"C:\Program Files (x86)\7-Zip\7z.exe", @"D:\webs\aj", @"c:\aaa.7z", true, "mahm123");
        }
    }
}
